package com.gszyxy.bigdataclass1group3.plateform.service.impl;



import com.gszyxy.bigdataclass1group3.merchant.mapper.MerchantMapper;
import com.gszyxy.bigdataclass1group3.merchant.pojo.Goods;
import com.gszyxy.bigdataclass1group3.plateform.mapper.PlateformMapper;
import com.gszyxy.bigdataclass1group3.plateform.pojo.PlateformMerchant;
import com.gszyxy.bigdataclass1group3.plateform.service.PlateformService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class PlateformServiceImpl implements PlateformService {

    @Resource
    private PlateformMapper plateformMapper;
    @Autowired
    private MerchantMapper merchantMapper;


    @Override
    public List<PlateformMerchant> list() {
        return plateformMapper.list();
    }

    @Override
    public int updateMerchant(Integer mid) {
        return plateformMapper.updateMerchant(mid);
    }

    @Override
    public int addGoods(Goods goods) {
        return 0;
    }


}





